package com.maybach.workflow.core.dal.mapper;

import com.maybach.workflow.common.model.FlowActLogDO;
import com.maybach.workflow.common.query.FlowActLogQuery;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * MyBatis Mapper for FlowActLog.
 */
public interface FlowActLogMapper {
    /**
     * query count by query condition.
     */
    int countByQuery(FlowActLogQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(FlowActLogQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(Long id);

    /**
     * insert selective.
     */
    int insertSelective(FlowActLogDO record);

    /**
     * select by query condition.
     */
    List<FlowActLogDO> selectByQuery(FlowActLogQuery query);

    /**
     * select by primary key.
     */
    FlowActLogDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective(@Param("record") FlowActLogDO record, @Param("query") FlowActLogQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(@Param("record") FlowActLogDO record, @Param("query") FlowActLogQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(FlowActLogDO record);
}